package com.dataextend.service;

import com.dataextend.entity.RoleMenusEntity;

import java.util.List;

public interface RoleMenusService {
    int add(RoleMenusEntity roleMenusEntity);
    int update(RoleMenusEntity roleMenusEntity);
    void delete(Long id);
    RoleMenusEntity queryById(Long id);
    List<RoleMenusEntity> list(RoleMenusEntity roleMenusEntity);

    void deleteRoleId(Long roleId);
    void addRoleMenus(Long roleId, Long menusId);

}
